package com.joinway.framework.workflow.common.bean.view;

import org.jsondoc.core.annotation.ApiObject;
import org.jsondoc.core.annotation.ApiObjectField;

import com.joinway.framework.bean.BaseBean;

@ApiObject(name="City", description="城市信息")
public class City extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiObjectField(description="城市id")
	private int id;
	
	@ApiObjectField(description="城市名称")
	private String name;
	
	public City(int id, String name){
		this.id = id;
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
